/*
 *  Copyright 2008-2010 the original author or authors.
 * 
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *  under the License.
 */
package org.openaecfm.spf.model;

import java.util.List;
import java.util.ArrayList;

/**
 * The file description entity.
 * @author Qiu Kuining
 */
public class FileDescription {
    
    public FileDescription(){
        this.description.add("IFC 2x3");
        this.implementation_level = "2;1";
    }
    
    private List<String> description = new ArrayList<String>();
    
    private String implementation_level;

    /**
     * Get the description.
     * @return
     */
    public List<String> getDescription() {
        return description;
    }

    /**
     * Add a description.
     * @param s
     */
    public void addDescription(String s){
        if(this.description == null)
            this.description = new ArrayList<String>();
        this.description.add(s);
    }

    /**
     * Set the description.
     * @param description
     */
    public void setDescription(List<String> description) {
        this.description = description;
    }

    /**
     * Get the implementation level.
     * @return
     */
    public String getImplementation_level() {
        return implementation_level;
    }

    /**
     * Set the implementation level.
     * @param implementation_level
     */
    public void setImplementation_level(String implementation_level) {
        this.implementation_level = implementation_level;
    }
}
